-
Notifications
You must be signed in to change notification settings - Fork 82
Use netty core instead of incubator artifact for QUIC #412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use netty core instead of incubator artifact for QUIC #412
Conversation
3ea479c
to
421a736
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
val pipeline = ch.pipeline() | ||
|
||
pipeline.addLast(HttpClientCodec()) | ||
pipeline.addLast(HttpObjectAggregator(65536)) | ||
pipeline.addLast(WebSocketClientCompressionHandler.INSTANCE) | ||
pipeline.addLast(WebSocketClientCompressionHandler(0)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it safe to give ulimited buffer here and in WebSocketServerInitializer.kt
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This retains the same behaviour as before, so decided to not touch it, not sure entirely how safe it is.
As per netty/netty#14979
Also few migrations needed: https://netty.io/wiki/netty-4.2-migration-guide.html